package com.doublethread.easymart;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动类
 */
@SpringBootApplication
@MapperScan("com.doublethread.easymart.modules.*.mapper")
@EnableScheduling
public class EasyMartApplication {
    public static void main(String[] args) {
        SpringApplication.run(EasyMartApplication.class, args);
        System.out.println("Easy Mart 启动成功: http://localhost:8080/api");
        System.out.println("Druid监控: http://localhost:8080/druid/index.html");
    }
}
